package com.flyduck.security.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p></p>
 *
 * @author flyduck 2021/7/2
 * @version V1.0
 * @modificationHistory=========================逻辑或功能性重大变更记录
 * @modify by user: flyduck 2021/7/2
 * @modify by reason:{方法名}:{原因}
 **/
@RestController
@RequestMapping("home")
@Api("首页控制器")
public class HomeController {
    @GetMapping
    @ApiOperation("获取首页信息")
    public String get() {
        return "index";
    }
}
